'use strict';

function router(app) {
  app.router.get('/resourcelist', app.controller.resource.list);
  app.router.get('/resourcelistall', app.controller.resource.listAll);
  app.router.post('/resourcecreate', app.controller.resource.create);
  app.router.get('/resourcedelete', app.controller.resource.delete);
  app.router.post('/resourceedit', app.controller.resource.edit);
  app.router.get('/resourcesingle', app.controller.resource.single);
}
module.exports = {
  router,
};
